package com.we.flink.userlabelplatform.table;

import java.sql.Timestamp;

public class TableJiangfeiCardRiskTag {
    public static final String KFKTABLE = "fdm.hhl01_jiangfei_card_risk_tag";
    public static final String QUERYSQL =
            "select uid, "
                    + "status, output_time, callback_time, expire_time, "
                    + "update_time "
                    + "from "
                    + KFKTABLE
                    + " where update_time is not null";

    public long uid;
    public Timestamp update_time;
    public int status;
    public Timestamp output_time;
    public Timestamp callback_time;
    public Timestamp expire_time;

    public TableJiangfeiCardRiskTag() {}

    public TableJiangfeiCardRiskTag(
            long uid,
            Timestamp update_time,
            int status,
            Timestamp output_time,
            Timestamp callback_time,
            Timestamp expire_time) {
        this.uid = uid;
        this.update_time = update_time;
        this.status = status;
        this.output_time = output_time;
        this.callback_time = callback_time;
        this.expire_time = expire_time;
    }

    public long getUid() {
        return uid;
    }

    public int getStatus() {
        return status;
    }

    public Timestamp getOutput_time() {
        return output_time;
    }

    public Timestamp getCallback_time() {
        return callback_time;
    }

    public Timestamp getExpire_time() {
        return expire_time;
    }

    public Timestamp getUpdate_time() {
        return update_time;
    }

    @Override
    public String toString() {
        return "TableJiangfeiCardRiskTag{"
                + "uid="
                + uid
                + ", status="
                + status
                + ", output_time="
                + output_time
                + ", callback_time="
                + callback_time
                + ", expire_time="
                + expire_time
                + ", update_time="
                + update_time
                + '}';
    }
}
